package day04;

import java.util.Scanner;
//关于为数组赋值
public class MainTest10 {
    public static void main(String[] args) {
        int scores[] = new int[5];//创建长度为5的数组
        Scanner input = new Scanner(System.in);
        for (int i=0;i<= scores.length;i++){
            scores[i]= input.nextInt();
            System.out.println(scores[i]);
        }
    }
}
